package com.scsj.supermarket.base;

import com.scsj.supermarket.bean.IndexBean;
import com.scsj.supermarket.bean.IndexMarketBean;
import com.scsj.supermarket.bean.IndexTenFuncBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 *  首页十个功能键
 */

public class IndexFuncBase  {

    public interface IView {

        void showSuccessMsg(String s);

        void showErrorMsg(String s);

        void setAllData(IndexTenFuncBean indexTenFuncBean);
    }

    public interface IPresenter {

        void deliverAllList(RequestBody requestBody);
    }

    public interface IModel {

        Subscription getData(RequestBody requestBody, ResponseCallback<IndexTenFuncBean> callback);

    }
}
